//
//  MTBeaconInfModel.swift
//  MTBLETools
//
//  Created by 方强 on 16/10/27.
//  Copyright © 2016年 MT. All rights reserved.
//

import UIKit

public class MTBeaconInfModel: NSObject {
    public override init() {
        super.init();
    }
    
    private var major:Int=0;
    private var minor:Int=0;
    private var measuedPower:Int=64;
    private var beaconUUID:String="FDA50693-A4E2-4FB1-AFCF-C6EB07647825";
    private var sendpower:Int = 0;
    private var sendhz:Int = 500;
    private var version = "";
    private var oldpwd:String?;
    private var newpwd:String?;
    private var beaconid:Int = 0;
    private var weight:Int = 0;
    
    public func getMajor() -> Int{
        return major;
    }
    
    public func setMajor(major:Int){
        self.major = major;
    }
    
    public func getMinor() -> Int{
        return minor;
    }
    
    public func setMinor(minor:Int){
        self.minor = minor;
    }
    
    public func getMeasuedPower() -> Int{
        return measuedPower;
    }
    
    public func setMeasuedPower(measuedPower:Int) {
        self.measuedPower = measuedPower;
    }
    
    public func getBeaconUUID() -> String?{
        return beaconUUID;
    }
    
    public func setBeaconUUID(beaconUUID:String) {
        self.beaconUUID = beaconUUID;
    }
    
    public func getSendpower() -> Int{
        return sendpower;
    }
    
    public func setSendpower(sendpower:Int) {
        self.sendpower = sendpower;
    }
    
    public func getSendhz() -> Int{
        return sendhz;
    }
    
    public func setSendhz(sendhz:Int) {
        self.sendhz = sendhz;
    }
    
    public func getVersion() -> String?{
        return version;
    }
    
    public func setVersion(version:String){
        self.version = version;
    }
    
    public func getOldpwd() -> String?{
        return oldpwd;
    }
    
    public func setOldpwd(oldpwd:String){
        self.oldpwd = oldpwd;
    }
    
    public func getNewpwd() -> String?{
        return newpwd;
    }
    
    public func setNewpwd(newpwd:String?){
        self.newpwd = newpwd;
    }
    
    public func getBeaconid() -> Int{
        return beaconid;
    }
    
    public func setBeaconid(beaconid:Int) {
        self.beaconid = beaconid;
    }
    
    public func getWeight() -> Int{
        return weight;
    }
    
    public func setWeight(weight:Int) {
        self.weight = weight;
    }
}
